package com.aifast.system.sys.entity;

import com.aifast.common.base.BaseEntity;
import com.aifast.common.dict.DictBind;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author fujian
 * @since 2021-12-30
 */
@Accessors(chain = true)
@TableName("sys_role")
@Data
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    private String name;

    /**
     * 角色代码
     */
    private String code;

    /**
     * 优先级
     */
    private Integer priority;

    /**
     * 权限类型
     */
    @DictBind(type = "permissionType")
    private String permissionType;

    /**
     * 数据可视化
     */
    private String dataScope;

    /**
     * 备注
     */
    private String remarks;


}
